package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.dto.DIshDto;

import java.util.List;


public interface DishService extends IService<Dish> {

    boolean saveDishAndDish_favor(DIshDto dIshDto);

    DIshDto selectDishAndDish_flavor(Long id);

    boolean updateDishAndDish_flavor(DIshDto dIshDto);

    List<Dish> getByCategoryId(Long categoryId);
}
